Wrote an initial build script for the database.