Refactor transaction class

more logs left in by accident?