added Panel class