added snippet model to app