* fix init misuse which makes running tests impossible since tests are run inside a temporary test directory which breaks env loading * use dependency injection pattern for server creation and global server context in route handlers