Dynamic query implemented

Implemented by making dynamic queries accessible within the /Queries
page. Made appUrls require a database.