Break out struct functions into
their own files. Add patch to dimlist
conversion.