Rename interfaces and flatten packages. Move examples to examples package.