Refactored dinodex based on Franco's comments

Try using more descriptive names. What is `q_text`? You may even want to expand these to `header_name`, `user_requirements` for better readability