Applied singleton pattern to server instance
+ Applied code style for server class code