Scan code to map methods/ classes/ modules and build tree of modules namespaces