fixed serious memory leaks + it can parse & output the initial status of City