Add radiation graph and begin refactoring using promise API.