add client.coffee

add lib and client.coffee