add periods controller actions
set up table associations