TILESSB-22 Added creation of TLD. TILESSB-21 Added more code to the core to allow an easier code generation.