Switch to using traits to specify class attributes.

Fix naming conventions.
Networks can now simply be pickled and unpickled.
Data layer is now pass-through.