Merge pull request #1 from Amichai/master

Another configuration file for storing physics parameters.
refactor and tidy
autokick
fix order of dist calc