added models and schemamigrations for rates