Implemented Python interface
Updated interface