Core division logic. May not quite work yet, but the philosophy and structure are there