Implement lockfile and symlink option

```"use strict";```