Update for demo

New Python and java files for running demos