Java program skeleton