Revert "Implemented REST Server api"

This reverts commit 6e4b71c15ed321069ad972c2b050a2ee582b145c.