Core Java code for Data Unity