Move table add functionality to database class instead of schema class. This makes the objects hierarchical.