moved, write test apps
first take on outputstream implementation