The school committee provided for by this act shall apportion the money raised or received for educational purposes in the town of Durham, as shall be just. to the white and colored races, without discrimination in favor of or prejudice to either race, due regard being paid to the cost of keeping up and maintaining…