move public method
rewrite php config
remove python interface