Implemented LocalPopulationBuilder and made examples work