A new implementation for reference types
Merge pull request #19 from nygrenh/reference_type_reform

A new implementation for reference types