Modified Resource manager

Created a class that initialize both client and host for the resource
manager