Add some classes and data base.

Add entities classes, mapping classes, data base configuration and
database.