Add email function
Added game logic &c