replace constants with Environment Object
improve
add coveralls
Merge pull request #2 from ackintosh/refact

Refact