added log4net logging and configuration