Handling different application configs per environment

@joneslee85 @pkurek I've refactored, by introducing `#evaluate_configurations!`. 60a7b6e