move example.R to the inst folder
create a shiny example for tuning parameters