added light model to lib