Removed deprecated Note constructor
Removed unnecessary setters from Note class
Added private to instance variables in Transaction