Add reference links support

This commit resolves #184