make typename public
Add  functions for getting binding
miniJava2Piglet. nearly finished.