Add yasnippet, refactor repo-sources