adding primitive  page creation tool with working previewer