Table and routes setup