Moving ApiSaveNote to its own class