Sortmerna api

App controller + accompanying unit tests
All the lines below are >79, which are not PEP8 compliant - can you fix them?