Convert object initialization  to use options hash.
Use default parameter when option missing rather than a block
Merge pull request #3 from jobready/feature/support-initialization-from-hash

Feature/support initialization from hash