Added log4j logic to project: log4j.properties file to conf catalogue, added logging sentences into the code.