Start of DARN main code