add toolbox.[ch] to upstream repository