Added a scene system.
added menu scenes
added navigation between scenes

separated game logic and graphics.

added preloaderjs