Controller and some new methods in Model