Add database connection.
Use interfaces to insert a struct into the database.