Refractored note and note contoller