Fixed destination path of packaged ti module

Also removed some dead code