added connect-dirty
starting to create fronted api
non working but kinda finished client api driver