Added DB connection, and some convinience methods to connect and teardown the database.