Creating a basic Paint Foreground and Paint Background Tool

You can put a segment editor widget into your own module GUI and this widget is highly customizable. You can choose which effects to show, etc. If you really want just a smudge brush then probably the best is to hide the segment editor widget and just put a few buttons on your module GUI that control the hidden widget.