Character movement functionality added to app.js