Improve code readability for examples and messages infrastructure
Move examples dir to top-level of project