changed period for epidemio to weekperiod + code style cleanup