Global variables and ref file loading moved to static global class
Implement @RUN
Simplify @DO GOTO handling