moved stream classes to preload