Initial DB code.

The conn_2 is used for creating the db.