add movement controls cleaned up engine.js