Organized engine.js a bit, added comments, changed functions to objects (static)
Started skeleton of graphics module.