Added Promise registry
Sketched out Agent class