Helper class to create a console app in PHP.