database class with out SingleTon approch