restructured package gui