Abstraction of database objects

* Transfered database objects into classes
* Basic interactions interfaces between objects