Adding the coordinator module, played a little bit in thw code