implemented 1st version of logger
javadoc