added examples
added (rudimentary) unit-tests for component, population, and
populationselection.