changed C++ interface. changed 'put' to 'post', added 'remove' interface.