split qmgr methods for reusing and overriding by proxymgr and servermgr; used Go struct embedding