Full tests for Assembler.
Added connection combining utility.
Incomplete refactor of Ensemble code.

Splits up Ensemble code and introduces tests for some subcomponents.
Work in progress.