Add timl, move some stuff into .tim files