Moved initialisation of BaseObjectTypes into main