Generated controllers for resources

Created controllers for all resources, defined which attributes are accessible at controller level