Fixed ns struture to avoid problems with AOT

Corrected namespace structure due to potential issues with AOT compile.
Added some examples to README.md.
Released 0.4.0.