working classedit with only basic function (finding method definitions) - with bugs