Add categories; fix a couple of bugs; allow all Access-Control-Allow-Origins