Exhibit 10.1 INVESTMENT AGREEMENT dated as of July 19, 1999