Refactor actors. Implement view command.