Update project structure: separate modules for core and examples.