Rewrote input to use maps

* named input variables
* makes the world go round
* time for food
* works a lot better now :)
* Need to add mouse support
* And maybe a few other things.