Remove world from state
Pass only update and render functions to state
Move event queue into world