Alpha v1

Optimized schedule and calendar code.