Add client compatible code
Update readme and package.json