moved example code to own directory