Added basic logging using log4j