fixed space character in name
enable Access-Control-Allow-Origin
adapted api resources to new data model