Implemented Register and TableScan classes