cleanup old code
update to client 2.0 and rework tests
rework travis