move code that should be customized into constants for easier replacement
Merge pull request #5 from hube/constants

Make it easier to customize example