Rename AtomMediator to LogicalTable.
Rename ConstantMediator to ConstantTerm
Rename FunctionMediator to FunctionTerm
Rename VariableMediator to ColumnTerm