separated out scope and panel classes; changed access priveledges to UI elements