Migrating lots of utils to ttCore