Added day of week buttons to calendar view

Also attempted to compartmentalize code a little better. Needs more
work.
Sandboxed code a little better
Added documentation