Finished coordinator. Added endserial for testing