Organise API endpoint loading