add pom.xml and log4j