Added promise support
0.1.0