(1) add json response support
(2) add log4j configuration file (xml format)