implemented writeDb and initDb in dbAccess.c, compiles but not yet tested
merged yamlParser.h conflicts