Added the transistor to the lib, along with event master, along wiht changs to the main