Offline models integration

See my answer here

Taifun