Period logic moved to class Week

@robyoung
@maxfliri
Use WEEK to calculate week start

@maxfliri
@robyoung