split constants out into separate file
start sketching out stream interface implementation