Removed unused code, disabled debug, added ethernet libs.