Added an entity manager and a shell Mesh class (not sure if it's needed yet). Most importantly, I changed the resource stuff to a shared_ptr, let's see if that works.