hotfix rest method
move python class
optimize python api
refactor rest unit tests
remove php interface
hotfix python method