Refactor New() function to take a map for config
Merge pull request #1 from jshcrowthe/mapImplementation

Refactor New() function to take a map for config