Added some test cases and dependency injected controller to routing.
Refactored routing.
Changed namespace to the right one.
Added tests for RequestFactory.
Merge branch 'write_testcases' into develop