Initial commit:

Mostly a copy of XTV-SAF