add interface for message handler and a worker cache class