added resource functions
merged resource changes and add resource methods for input/output objects. AIRAVATA-1017