Refactoring. Now one common module re-exports all the functionality.
The examples are compilable again after the recent refactoring.