Refactoring routing code, added necessary functions for converting model objects to xml
Merge branch 'master' of https://github.com/ChinmayMK/only-REST