Moved classes into Xbmc namespace. Implemented cached query controller.