API Model, Controller and views