created new class to control lights and sounds