Reworked type, method and field referencing and importing.
Fixed DLL assembly detection.