Migrating the application code over to the new view logic