Removed unrequired flag flaRea
Rearranged connections.
Added definition of interface variables.