Remove ClassReferenceNode, allow capital letter variables

This is a fix for #638 and #639. ```ClassReferenceNode``` is removed.