Key Value Model and class table_name variable