Removed a ton of redundant code

Now the engine has a general purpose Manager class that 'resource classes' use for resource management. This removes ALOT of redundant code and makes it alot easyier to add new things