Refactor comment sync into service and add REST