Sortmerna api

App controller + accompanying unit tests
Same here