Added light objects and API