refactoring messages, spawn actors in coordinator