Added Database working class

as far as I know postgres is caseinsensetive in table and field names, so BookShelf can be replaces to bookshelf

Actually all this options should be pass to the constructor, and than to the class fields to make this class configurable