Separate example code from core framework