Initial code commit

Core code for Treslte pulled from [FireDart/Trestle](https://github.com/FireDart/Trestle).