New model ResourceState

- added new class ResourceState
- added method getResourcesState
It's better directly to compare the enum - not the string representation.

    getExecServiceType().equals(ExecServiceType.SEND)