Add a second constructor for the BElements to take a string.
Added the constructors for the metadata class.