add contig.java object class