Move lighting logic into lighting store