Add AttributeController and some changes on EntityTypeController