Implemented crudely what we need right now for Tasks and Promise