renamed concepts

tables to types and rows to entities