add pseudocode file and initialize session variables.