Started rewrite of input_web.pl to a module