remove unused multiparty module
Improve cache functionality