Added config file and reformatted