Added more tests and refactored the stream vs file
Created a first draft of the README