Sample codes files with examples of the Dependency inversion principle