Implemented definition of database interface.
Implemented mapping schema definiion.