Add a seperate file which have a class BuildRevision
which is responsible for building revision from the
metadata obtained. This class is inherited by class
PackageLoader. build_revision() is the entry point
for the class BuildRevision.
Depends on D1811