adde msgpack codec and added it as default codec for results and requests. Also added field for codecs in the appdescriptor.
Beginning of Refactoring