Initial implementation of coordinator