Fixed issues
Added install flags support
Added support for lockfile.
Fixed minor issues.