Update Main.java

Starts some stuff for light level checking, very sketchy atm