Factors out some web client junk
Adds a client piece