Clean some bugs. Insertion of singleton class for GameManager

Signed-off-by: Kevin Wagrez <kevin.wagrez@gmail.com>