Add dir argument to util.getAST
Export the program object in bin/cli, so it can be required and extended