Added web form for sql queries.
Implemented initial loading of query form