move models to common directory