update license
make data directory configurable