shifted some code to the backend. Now calais data is all retrieved and parsed on the backend. This has the tradeoff of being a blocked series of operations, but that data is retrieved with fewer client-server interactions. This way more closely resembles a good API, and we can work in async stuff later.