Initial release of the TPS code