Split iston.pl script into separate Applications' classes