fixed group creation
resolve now looks for sub-generics and fails if they don't exist
restructured environment and added a real clone function
inlucded chai things for better array testing
gathering connections from a group
handling generic references in connections