Cleans up table operations
Adds is_readonly() flag to orders
Removes "control" column