initial commit of main TC codebase