If we want to have a separation into modules and script code (which I'd say we want to have that), then we'd need a module folder and a separate analysis file that uses the module.
We should also have something like a data folder (not the database, but all other/interim outputs from our analysis file(s)).
Things shouldn't be all in the same directory.