removed index.html from public folder
added snippet model and controller