Revert "started new API"

This reverts commit beb6eb919961ede3a926a0bd84b409bc9ea09b41.