added first methods to setup a clustered application