Relocated mds adapter models to models.py