Added functionality for storing bars directly to a database.