Move lib/app/client.js to lib/client.js