provide mining functionality as service