Clean up naming of methods.
Allow input of output directory name.
Merge pull request #5 from link664/allow-input-of-output-directory-name

Allow input of output directory name