Added global Period objects for database, as well as lab day field and better notification preferences.