Rename time2posix functions to be prefixed by "t2p_"
Split into more files by functionality