Add a model super class

To use it extends the model class and specify a $table property