Controller for an ECAL project