Made some updates to the rendering pipeline for efficiency. Getting started on physics.