fix json
cors
examples
move bin stuff around