ui directly uses new network code, remove obsolete code