update .gitignore
idea files updated
scripts: distribution strategy implemtnation; too slow though; also add config.sh
incremental work on java impl