Move WriterT into Writer folder
Refactor getInputState and getInputStream