First draft of a population class and tests