add snap library
Merge branch 'master' of https://github.com/mag5323/snap