refactor, don't expose all variables
define getter setter for isDebug
some player stuff
creating a webidl thing
added vector2d