Refactor BaseClass to a factory class w singleton glusterfilesystem - comments welcome .