some code reformatting
changed db model - changed player-name to name in players table, added invites table - like game + field