IDE-1602 new layout template editor using sapphire

- model the elements
- there pages ui editor