Fixed plain text in java file, added main method