function deploy() {
    address presaleMultisigWallet = 0x675cf930aefA144dA7e10ddBACC02f902A233eFC;
    address presaleBountyTokensWallet = 0x06B8fF8476425E45A3D2878e0a27BB79efd4Dde1;
    address presaleFoundersWallet = 0x27F1Ac3E29CBec9D225d98fF95B6933bD30E3F71;
    uint presaleSoftcap = 50000000000000000000;
    uint presaleHardcap = 2000000000000000000000;

    address mainsaleMultisigWallet = 0xFb72502E9c56497BAC3B1c21DE434b371891CC05;
    address mainsaleBountyTokensWallet = 0xd08112054C8e01E33fAEE176531dEB087809CbB2;
    address mainsaleFoundersWallet = 0xDeFAE9a126bA5aA2537AaC481D9335827159D33B;
    uint mainsaleHardcap = 25000000000000000000000000;

    token = new TlindToken();

    presale = new CommonSale();

    presale.setToken(token);
    presale.setSoftcap(presaleSoftcap);
    presale.setHardcap(presaleHardcap);
    presale.setMultisigWallet(presaleMultisigWallet);
    presale.setFoundersTokensWallet(presaleFoundersWallet);
    presale.setBountyTokensWallet(presaleBountyTokensWallet);
    presale.setStart(1506344400);
    presale.setFoundersTokensPercent(15);
    presale.setBountyTokensPercent(5);
    presale.setPrice(10000000000000000);
    presale.addMilestone(8,200);
    presale.addMilestone(8,100);
    token.setSaleAgent(presale);	

    mainsale = new CommonSale();

    mainsale.setToken(token);
    mainsale.setHardcap(mainsaleHardcap);
    mainsale.setMultisigWallet(mainsaleMultisigWallet);
    mainsale.setFoundersTokensWallet(mainsaleFoundersWallet);
    mainsale.setBountyTokensWallet(mainsaleBountyTokensWallet);
    mainsale.setStart(1510318800);
    mainsale.setFoundersTokensPercent(15);
    mainsale.setBountyTokensPercent(5);
    mainsale.setPrice(10000000000000000);
    mainsale.addMilestone(1,50);
    mainsale.addMilestone(6,30);
    mainsale.addMilestone(14,15);
    mainsale.addMilestone(14,10);
    mainsale.addMilestone(14,5);
    mainsale.addMilestone(7,0);
    
    presale.setNextSale(mainsale);

    token.transferOwnership(owner);
    presale.transferOwnership(owner);
    mainsale.transferOwnership(owner);
  }