Move creation of tables into a sub-package.