Move dutyroster code to main