Moved server methods to their own file.
Changed Game() constructor to an object instead.