Remove Promise requirement the lib and require Promise in examples