adding hoogle support for classes, closes #158