initial commit
added configure option
added check to see if connection is running