Add working Castle script. Update Program/dab. Add Event static support.