Adding Task model and add_task REST method.