add gemfile lock
add CORS
fix bug with json format
fix other bug
Another bug fix