Bug fix/cleanup in config/data directory assignment
Merge pull request #41 from firecat53/master

Config file wasn't getting saved
some bug fixes
implemented logging