Simple template for Java application