Add rebuild and restart commands

Closes #8
Closes #12
Merge pull request #21 from fancyremarker/rebuild-restart

Add rebuild and restart commands