Some refactoring

* separate Action from ActionWindow
+ RenderManager