added export symbol
initial commit of client library (UNTESTED!)
fixed a few things