Added basic bagit functionality