Basic functions for Database

Added writeToData methods,
Tests insertion
Merge branch 'master' of https://github.com/vdemotz/IntroDBProject