use Autoloader & incapsulate table's name and primary key