Added support for multiple machines and configured couch