Design and Construction of a TPC using GEM Foils for Gas Amplification