Add help, version and lock-file args
Add dot-file arg
Code cleanup