snappy version 3 - work in progress

Complete simplified rewrite of snappy.
Fixed!