+ added explicit import of db object from tables module