Started filling in the skeleton code for coordinator