change structure of raspisump to move much functionality out of scripts into
modules.