Added documentation to Main.java

1.5 will come about with changes to the webpage for this, which will feature full documentation