implemented chatting interface

Makes #6 possible!