Revert "Added cofh api"

This reverts commit 439ba41e556b1cb8c3210bac0605d9c794f33bc8.