Break out all the top level apis into install.c.

3 files changed