adds persist query builder class for query
adds some basic skeleton methods for persisting to db