Added a Client handler class

also added using it in main and special socket exeption