Added connection, ensemble, network, model classes for jython

Also did a first attempt at build() methods for ensemble and connection, and run() implementation for model.