refactored the panel API out from the editor...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
refactoring...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>