refactor deploycommand and deployer for tiptoi