app controller for sortmerna finished, working on unit tests