Set the query frontend to use the querybuilder for getting data
Started exposing API to main flask router