Add initialize method to Promise class

A more readable way to define Promise
But here it is done synchronously :smile: