Notes functionality added (not completely finished)