flesh out configuration, connection handling, and data flow