added lightsource class, still needs to be used in other classes