Fixed the route requirement xml getter and some small other stuff.
Fixed model class
Fixed testsuite