Code clean up; New from_yaml method for Config;