set up shifts table and routes