Moved example code into example folder