New class architecture

TableClass controls all the others