Preparations for oclc-eswitch, moved internal-api to partials