fixes #2519 - data directory is now read from config.json
Merge pull request #11 from cristiroma/master

fixes #2519 - data directory is now read from config.json