Initial commit of all promise code. Have not yet created a working example that uses it.