factorise into service
import library with ajax
Merge remote-tracking branch 'origin/factoriseCodeForRequest-01'