Add rebuild and restart commands

Closes #8
Closes #12