added log4j logging support
fixed issues with logger
move config to resources dir