Added the database open helper class.
Insert behaviour is finished.