added Streams class, updated tests, changed View constructor