Some large updates to code

* made all classes (except input) just regular classes instead of ref
classes
* input must remain ref class to work as input callback handler
* overloaded new/delete operator for renderer for now (comments explain
why)
* working towards better integration and modularity