Add runastyle script
Separate updating and rendering

Now update takes place in state.update()
Drawing take place in state.render()