Iterate interfaces in Main