initial checkin of demo code (with RM3 support)