Code changes for calendar

Code added for Calendar functionality to show weeks.