Cleaned up code considerably

Took all player related stuff out of playState and put it into the
player class.

Started a Gate class (need to work on it more).