remove jpanel class. put all code in main CLASS