Fixed files in db folder

Deleted example code, fixed functionnames