added  generic view

has a text box that accepts and runs queries