Move logger to its own file
Move server to its own file