added panel abstract class

Added a panel abstract class for all generic box-type attributes