Created model and implementation create task method.