Addded second api
Changed api with flask-restful. Added /api/add_task