Migrate and clean sample application