Start refactoring task web api