some refactor

* add a second type parameter to Stream for the output types
* add implementation of Sample for available Stream IO types
* change layout folder, add ext folder for maybe future extensions bindings
* makes types module private and reexports items in pa
* remove glob feature