refactor code to allow for configuration
Merge pull request #6 from ChalkSchools/configure

refactor code to allow for configuration