added complete todo and note functionality