Added Factory, setup BaseGame::InstanceFactory, included example code in Factory.h