To avoid circular reference to "use" I had to break structur.f90 into smaller files