added streaming functionality
Created Training file