Integrated create database.

Still testing database integration.