Added Thomas Code/Modules and changes.