Modularize under Sg and explicitly require the API files