New file: model.py
Implement a baseclass for the application of a model.
More specific classes can then be derived from this
generic class.