thdat: Finish writing module methods of th105.

I haven't tested the code yet, so there might be bugs.