Construction of quantum integrable models with bound states