Implemented assembly dao (tested) and generatemetadata changes