Some basic database example code and class