Improve client db

this adds the functionality mentioned in #7 
`kwargs`? can you not just call this `client_node` or something more descriptive