clientside network code

and gui elements