remove template for control
refactor mode switch to spi methods
add test for component spi
add test for component spi
add switch to control in page control
add control/editor switch in page component
add target parameter to component
add tests for page component mode switch
get template, config and content from page contorl
add api for getting template