Additional logging and refactoring
Added ability to copy classes without transformation