Fixed singleton. Should be ready to make a basic client and server.