before big rafactoring: ged rid of AsynNemralModule, redefine Encoder/decoder