Hooked up basic networking code with GUI