fix initializing log4j and add `README.md`