got rid of duplicate code in controllers by using inherited resources; start working on entity_types