Refactoring to enable Stream Object

Also includes reimplementation of clearing of streams (by clicking
rather than saving) -- this is much simpler to understand and implement.

Also moves the main function for adding logs to outside onCreate.