consolidated multiple shell files into common.sh, cleaned up controller.sh to use common.sh