added method to init from already extracted metadata dictionary
fixed typo