Split up files so that install only runs on postinstall

Fixes #3.