+ some restructuring
sorry about whitespace diffs, i forgot about that :O
Merge branch 'local'

Conflicts:
	index.html
	js/game.js
+ moved tenview into view.js