Added the main class and the Panel class