Add worksheet tables and model code