Ports from bricket. Moved to standalone project. Experiments for
managing users workflow. It's work in progress, just a save point.