Refactored the database DDL.

* moved to the conf directory and renamed