Removed unused stuff
Adding session creation and transaciton to each method

This seems to be considered best practice, unfortuantely the BaseQuery
method doesn't make it so we can wrap it in a transaction since it is
used elsewhere, so just creating a session for it and it will
auto-commit.