Working towards a working engine

* Adding in real code for subsystems
* Adding in dx-related code for renderer
* doesn't work yet.