adds tables routes