added support to load, save and delete a query