my db class