initial commit with socket wrappers done