creating interfaces for Client and Queue