First SQL functions to extract info from TS.
Merge branch 'master' of https://github.com/JulianKunkel/siox