refactor: Move parse_query_string to uri module