Release 0.9.8

fixed code to work in client; improved documentation