Clean-up

- removing debug output
- sharing create context method among demos
- change to/from dataframe
- more implicit casts
- shell scripts polished