Example implementations of the SOLID principles