Adds some base classes and creates entity collection