app updated to handle running and finished tasks
removed json lines that we add to file for metadata