beautified configure-machine script, switched to sqlite to store location of configuration files