TCONV : Seperate function to header files, Add test program.

Signed-off-by: Khral Steelforge <garuda2550@gmail.com>