Refactor Config [WIP]

enviornment -> environment