Break your code up into logical groupings of functions... Main, Settings, Dialogs, Files, etc.... in separate .c source files. Add each of the source files to your project. Next prepare header (.h) files for each with your function prototypes, extern variables etc in them and #include them where needed at the top of your code pages... As needed means that if (for example) there's nothing in the Settings group needed by Files, you don't include the header there. Then compile...
For a better look at project structure, download some of the stuff from the user contributions forum and look how others do it.
This is standard C stuff, nothing magical in Pelles...