Performed refactoring replacing XML based metadata with ruby based.