added calendar functionality
added styling and more template stuff