Adds ability to pass options via a configuration object.  Fixes #4
Merge pull request #6 from desmondmorris/options-parameter

Adds ability to pass options via a configuration object.