Add code-based API hangar configuration, for those who prefer it