Added refresh command

Closes #20