Fixed the DataRequest factory. The factory cannot return an actual value, it is returning a promise. This promise must be completed where DataRequest is called.
Added legacy compatibility to the DataRequest factory.