first pass at serverside handling of connections. pray
remove some files