Fleshed out rendering engine

Added cameras and transforms. Also added some input events. Added a
ResourceManager to prepare for loading models.