initial commit
basic socket handling added