Base code for sharing thoughts by users