Automatic creation of all table files - currently includes primitives and imports