Added Database working class

In the absence of the conditions of the query is processed with WHERE TRUE