more moving of type & constant definitions to pkg header
moved array type definitions out of functions to head of package, instances now also in package head and are constants
moved array type definitions out of functions to head of package, instances now also in package head and are constants
moved array type definitions out of functions to head of package, instances now also in package head and are constants