routing and item lookup and basic template render