re-integrated java code into parimagine-core project

Change-Id: I5be61e44a397335f1ff7cf788d8f0c37dc6983bd