merge note and audioNOte structs, added metadata struct, and cleaned up unsused code in segmanager