Added type and structure converters. Updated implementation of component