Simple template for 2D Java games