Fixed a bug with the initial game state variables
Add LevelEnd class generator to apps.js