initialization of serial and ethernet. basic loop structure for debugging. untested.