refactoring
endpoints for sources and words/intersect
working