added option to pass custom configurations
Merge pull request #24 from tonydspaniard/master

Added option to pass custom configuration