adding light config class, and test