Moved code from QatQi source code, created pod and sample code.