add light system

separate out config.js