My simple database class in c-sharp