added logging instead of using printStacTrace method
Added separate module with commons objects