modularizing the query page.  not completely functional yet (something is wrong with the dropdowns not working in the litterfallQueryView)