added java classes and more c class templates