Seperate the server from the library more strictly
At the moment, the library handles a lot of things that are unnecessary for a pure library use. One such example is the configuration which is provided to the internal server structure even though it has basically nothing to do with the server. This complicates Code unnecessarily and makes it less maintainable. If the configuration can be separated fully from the library it can even be integrated directly into the server