Sortmerna api

App controller + accompanying unit tests
Parentheses not needed