Fix errors, add Status enum for Table class