improve class detection, support if no module or no class when a method is find, support of simple js function like function foo()
add previous choice
improve project folder detection