First checkin for most of demo_app.