added basic game states, a state manager and a few other misc stuff
updated conf.lua for 0.9.1