QML support

QML support and common snippets.