Fixes #2. Developed 'simple' promise implementation