added interfaces for neural net serialization