Added in support for Transaction querying -- much is left to be
implemented.  Added a decorator to remove a lot of the redundancy of
writing a query.  Lastly, have a template commented out which still
needs to be tested which would, upon decoration, make it so
implementation of functions is unnecessary.