Implemented core lighting system

Too much time was definately spent on this... though it is pretty awesome :D

Urrgh, all of the sleepies