update test
add data.js
rearrange api dirs
Fix paths