blog, video 26, creating a database class

created a class with 4 functions