Create mother class for all models