Started adding basic class structure to JS files.
added basic structure to character class.
Added main character movement logic.
refactored logic for a more modular code structure.
Merge branch 'ivan'