Clean calendar generator code
Make optional to start the week on Sunday