[chore] Split out disclaimer code

@stulees please review. Thanks.