initial commint for TideSdk support.
Still need some work. Not usable at the moment