combined Java examples and moved project