added synonyms to Controller and added phpdoc to many methods