Initial checkin

Things working more-or-less.