Refactor task note as plugin

Refactor task note as pulgin