Converted the API into classes. Removed Disconnect Method, Added a Disconnect method