Add thor dependency and basic option setup.