Added TableRepository and relative example