Add createReference function

Bump the version

Add createReference sample program