add spi interface to insert component
rename new component to insert component in api, and add meta data for component
add id generator for component
add mode switch for edit/preview
add callback function for preview/edit mode switch
remove old test specification