add Rest API for jplayerdata
add test files