Refactored Config object to account for several environments