Given a public API, how would you structure a modular application to fetch and display data effectively?