Created classes for entities