Added resolvers for some ASTNodes.
added error handling.
M3 model extraction prototype.