db_class file add

I have decided to upload the db_class file here, but I removed all of my
details(server link, username, password ... )