Added start of db code