added params for commands in python; python caller; added interface for processing the commands in core