Added base model for tables