added dynamic project and optimize news retrieval code.