resolves #38 allow baseDir to be specified explicitly

- default baseDir to project.projectDir
- allow baseDir to be overridden
- allow baseDir to be set to null