added java style and formatting templates