Creating Gateway model and migrating moip data to it