changed activity to send data to a valid stream
updated layout so it works on smaller screens
made the StreamContract class final
fixed bug in doc build