start of table automation

changed addTableListener to addTableRowListener
created addHoursListener that manipulates the hours field in table and
the totalhours total