moved everything related to marshallers to separate package

To separate logic related to serialization and improve readability, i created separate package for marshallers