moving all Netty mappers into codecs, decoders and encoders to clean up code and remove redundancy