http://docs.sqlalchemy.org/en/rel_0_9/orm/tutorial.html#querying for some notes on querying