Added midi stream class