Moved struct defs to main.h. Added a file describing port connections between xia-router*