Cleaned Note code.
Removed old model base.