move some code into a common location
update script for new fins
better organization.

--HG--
rename : modules/Index.pmod/module.pmod => modules/Index.pmod/Common.pike