adding some sample binding code for rates search

experimental code, not for deployment.