implemented simple CRUD for snippets model
fixed merge conflicts
Merge pull request #7 from abcm1989/master

fixed merge conflicts and CRUD for snippet model