Extensive rewrite of 'moberryv4.pl'