ARQ-1878 Introduce TableEntry

@aslakknutsen could you try if it is ok for you, please?
recursive thing