thin firebase wrapper to use promises and es6 generators