Add default rake task and simplify client.rb