create base classes and initialize socket
first request and response
restructured request and response