first implementation of Promise
Revert "first implementation of Promise"

This reverts commit fb7503cdcfca8a0f51bff635af18fd9d7f306490.
Closes #1