Add rebuild and restart commands

Pending implementations in Sweetness. Do not merge.