Refactor rm command.
Refactor ls command.
Refactor add command.
Refactor init command, closes #30.