move abstract class PanelWorld out of Main.java