fix inconsistent namespace in example
remove superfluous use statements for clarity
Merge pull request #4 from mkcny/master

small fix for example code