Added Create task method
Fixed CREATE method in TaskFactory