add table helper

to generate tables form resources