splitting template into 3 separate tables, groundwork for menu caching