Make adapter an environment parameter

This commit allows us to change the adapter to whatever we feel is appropriate for our chat service.