extract project, file, class exists methods into package explorer view class