added class and method parsing