Implement factory configuration.
Merge pull request #4 from troopjs/feature/config

Pattern for specials should be configurable