gui refactor: move type of streams into stream module