add plumbing dep
minor
moved site type defn out
split beachline insert into several helpers