Added Marshal support for Layer and Network
Add network training properties (untested, not yet marshalled)