Design and Implementation of a Gas Puff Imaging System on TCV