Added basic network code. Step a1 now working.