Basic foreground/background started
current layer as variable
Clean up, improve shiftView call
Restructured code to match the desired architecture and added game loop
Fixed some missing links
merged changes from branch 'master'
fix merge conflicts
Added event dispatcher, included application.js on main page.
Wired up broadcasting game event model
Merge branch 'restructure'
Added more code for menu