Worked on server/client connection

Made a few more options for communication between server and client
Added getting game_info from database for key, etc...