Added git ignore file and changed java files