Create class.diePretty.php

This is the class that does the work.