Added GameObjectManager

Also added an ID feature for the manager classes and made the
ResourceManager class more closely resemble the new GameObjectManager
class.