added better normalization framework for handling more divese inputs via different normalization mechanisms; as well as persistence for the network, also fixed serialization bug wrt to loading the network