moved table schema to individual Record classes