Factored out download manager into util.  Added test for protobuf data layer.
Merge