Refactored client library
Added a playground