Implemented BaseResource superclass and changed ResourceManager to work with the new ID-system
Finished the new ID-system