refactored database access
lots of core stuff
Merge branch 'master' into newdb
progress
Merge branch 'master' into newdb
checking equality better
Merge branch 'master' into newdb
fixed data loader
more robust date parser
Merge branch 'master' into newdb
Seems like mapping is working now