Create returnTypes

Return types constant string replaces class2type for performance/ size improvement.