Registers worker to master on startup