Remove debug id dependency from index.html

Use debug for viewing player location.
Create Input class.