Update README.txt
Update Main.java
Change Main.java program structure
Update sample files