Resolve CORS for local server
Fix bug in the creation of a player object