Final Server Side code of WarOfTheWorldHackathon