Added EntityManagerBase and LoadableEntity classes

These will be used to load things from XML.  Instead of "things", i'm
calling anything that can be loaded from xml an "entity"