moved socket stuff to util directory for better segregation later
added test directory to store test code