Cleaned up and added comments to ivr-typer.pl