Updates calendar partial to check for nil and creates database_template file for development