Added ability to store records, and query for results, in Beans database