Added support for finding main types in source. Added confidence levels
for main type finders.