print log if -v is in arguments
create typedefs for several thorium_ structs