Bug fixing. Close to a working server.