added database sync'ing, updated libraries, changed logging from csv to
rdf