Update Main.java

Added the Library loader, to add different libraries for the different OS's