Add some getters, move constructor to top of class, make Text and Trans match each other in code style