#7 refactor for adding breaks to a schedule
#7 merge with pr