fixed issues with the generate_config method and added better output to parse_config
Fixed errors in generate and updated documentation