Add client/keygen files
Update cmake to compile client library