Manager-only functions include keeping the application state up to date and keeping track of workers.