adding caching to client
fixing constructors
v 0.6.6.0