added query and template routes in bootstrap
debugging
Added schemas