A chatbox class designed to be used via an API (for integration with your application)