Fixed dependencies in html files
converted Game to singleton class
Split up spec file; Converted display and ai objects into classes