debugging: Revisiting error handling (throw and catch in different functions)
Some related clean up
debugging: Fixes to have the system start from AST-based registry