updated createSessionAsync and GetResponseAsync

removed interdependency loop and implemented single responsibility
principle.