Re organize sample

Starting work on #59
Including the use of the fragment.