Create classes for entities