Refactored timodule library to address incorrect module caching, support for bypassing cache, and improved API.