move common models to util