Core libraries for TEA