Renamed models, controllers and views dirs to resources, api and representations respectively.