Merge pull request #8 from soloara/refactor

Refactoring comments controller and add the test...
refactoring tasks controller and add the controller test