Move source into thread
Add dummy pubsub