* reorg scripts into modules