Moodle plugin which displays static information pages which exist outside any course, imprint or faq pages for example, complete with Moodle navigation and theme
By definition, lib.php should be as small as possible:
Moodle core often (but not always) loads all the lib.php files of the given plugin types. For the performance reasons, it is strongly recommended to keep this file as small as possible and have just required code implemented in it
By definition, lib.php should be as small as possible:
Source: https://docs.moodle.org/dev/Plugin_files#lib.php
In this plugin, some additional functions are located in lib.php which could be moved to a locallib.php or to autoloaded classes.