Added LightFactory

Added the beginnings of the LightFactory class and removed the sample code from App, which now uses the factory object to do everything.