add headers to rack with rack-cors
try again
lots of bug fixes