Revert "Removing all unused code"

This reverts commit 2fb95892ae874fb9764c6c0ffdfe73d82cdc16dc.
Adding log4j