Get group data from db and implement ready handlers
Get period data from db