Seperated server out into seperate module. It can now be started by the tests directly
Removed debug spam