refactored database layer to be a golang object - much less global variables now.
added getter stup for data export
broken - need to restructure repository to match go project structure.
refactoring (see #5), now the server code adheres to proper directory layout, no more globals in server code.
refactored provider (issue #5)
removed  some todos, also related to #8
refactoring - now only passing database configuration parameters to the database
added exporter skeleton (#9)