intial import, with mostly-working networking