superDir now works for exploring java packages

Previously superDir only applied to classes.
Cleaned up code.