make all models inherits from crecord model