Added the initial java files and codes