modularized game code into modules using lure and html5 history api