Note is now storeable

StdNote has now an enum as core for frequency. It is also cloneable.
Some unused imports removed.