refactor timeperiods classes
remove old file