Added timer code and plugboard class