moved the class and memory management into a separate project libtrbase / prefix all of the public interface of libtrbase with TR_