added reading config from environment, simple chat listening and message replying