Sortmerna api

App controller + accompanying unit tests
use the `join` function of the `os.path` module and you can remove this entire if/else