Did a huge refactoring of the code: Packed all functions in Game, Scene or Canvas object. Working with bugs (Continue tomorrow)
Initial commit with refactored code - Bugs can occure
Removed old code (unrefactored) and corrected a few bugs. Also fixed ping bug which was due to assignment of global variable 'ping' which was not used any more
Added tools to Game object and other small fixes - Initial refactoring complete