Refactored examples into xml and python subdirectories. Implemented basic using Python API