Build structures from CGI data
