Travisdouce/refactor config to hash