Added comments and documentation notes.
Improved status reporting/checking for AST parsing and code analysis
- using a structured return object rather than trying to interpret unstructure return values