created a method to get table name of classproperties
created a method to get tablenames of a class