adds db for labeling/prediction
adds export for labeled data to local file system
refactoring