Implement activities list
Move stdout writer to streaming thread