Added ability to get data from the DB through the controllers
Bug fix for improper XML output