message saving work, move accountmanager into worker namespace

move accountmanager into worker

piiaway