Add import * expansion

Replace import * by using module defined in tables.py