Movement logic for player moved to Player class

*Removed player logic from app.js and moved it to player class