moved socket listener to usr directory and updated control