basic framework for tutorial with working rChart