Core for notes managing locally and remotely within TDD