some improvements here and there
add gtpclient
updated and added tests