Improved logging removed redundant log4 conf files and added debug configurable