Provide restful API to run scala code, and give result