adding snippets.py
first commit
mostly authorization
added auth store and retrieve
added OAuth and search