initial commit
cleanup reference compiler handling