Added example.php
Fixed the initial design taking into account the SRP.