finally separated out the logic of pulling in data from the API with rendering hamiltonian operators