improved new query page, refactore query list page, refactored yql factory