snippets can be saved and shared.

slip api endpoints to a separate controller