Added settings and put some boilerplate code for querying virtuoso.