Added functions for saving and loading registers. Added user, game and advertisementRegister. Modified main program.
Merge origin/master