refactor javascript api
rewrite security config
optimize python config
remove public unit tests
rewrite javascript method
remove php api