add some methods for Table
introduce row object; rename to Table.scala