Initial commit

Moved experimental branch from github.com/mkocs/qi