Minor adjustments to existing files, one file added

Fixes on route bugs, baseController fix, added mock file for testing