Storage is working now. Still needs changes to get query name from GUI
and implement retrieval from the database.