add routes and controller for periods
add periods views