refactoring JMCloudcomputeMain.java